<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="r_id" name="r_id" th:value="${businessProduct.r_id}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">商机ID：</label>
								<div class="col-sm-8">
									<input id="businessId" name="businessId" th:value="${businessProduct.businessId}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">产品ID：</label>
								<div class="col-sm-8">
									<input id="productId" name="productId" th:value="${businessProduct.productId}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">产品单价：</label>
								<div class="col-sm-8">
									<input id="price" name="price" th:value="${businessProduct.price}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">销售价格：</label>
								<div class="col-sm-8">
									<input id="salesPrice" name="salesPrice" th:value="${businessProduct.salesPrice}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">数量：</label>
								<div class="col-sm-8">
									<input id="num" name="num" th:value="${businessProduct.num}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">折扣：</label>
								<div class="col-sm-8">
									<input id="discount" name="discount" th:value="${businessProduct.discount}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">小计（折扣后价格）：</label>
								<div class="col-sm-8">
									<input id="subtotal" name="subtotal" th:value="${businessProduct.subtotal}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">单位：</label>
								<div class="col-sm-8">
									<input id="unit" name="unit" th:value="${businessProduct.unit}" class="form-control" type="text">
								</div>
							</div>
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/crm/businessProduct/edit.js">
	</script>
</body>
</html>
